PDF4Java Reference Documentation
com.o2sol.pdf4java.annotations Package / PDFSquareAnnotation Class / setInteriorColor Method
A com.o2sol.pdf4java.graphics.colors.PDFColor object specifying the interior color with which to fill the annotation's rectangle.
In This Topic
    setInteriorColor Method
    In This Topic
    Sets the annotation interior color.
    The color must be RGB, CMYK or Gray.
    Syntax
    public void setInteriorColor( 
       PDFColor value
    )

    Parameters

    value
    A com.o2sol.pdf4java.graphics.colors.PDFColor object specifying the interior color with which to fill the annotation's rectangle.
    Exceptions
    ExceptionDescription
    When the property is set to a color other than Gray, RGB or CMYK.
    See Also